package cn.iocoder.yudao.module.lfd.controller.admin.barber.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_HOUR_MINUTE_SECOND;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Schema(description = "管理后台 - 理发师 Response VO")
@Data
@ToString(callSuper = true)
public class BarberScheduleRespVO {
    @Schema(description = "id", required = true, example = "10322")
    private Long id;

    /**
     * 等待时间
     */
    @Schema(description = "等待时间")
    private Long waitTime;

    private String label;
    /**
     * 等待人数
     */
    @Schema(description = "等待人数")
    private Long waitCount;
    @Schema(description = "号码", required = true)
    @NotNull(message = "号码不能为空")
    private String phone;
    @Schema(description = "昵称", example = "赵六")
    private String nickName;
    @Schema(description = "性别", required = true)
    @NotNull(message = "性别不能为空")
    private String sex;
    @Schema(description = "店铺", required = true, example = "11420")
    private Long shopId;

    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "工作经验")
    private String works;

    @Schema(description = "星期")
    private String week;

    @Schema(description = "状态", example = "1")
    private String status;

    @Schema(description = "开始上班")
    @DateTimeFormat(pattern = FORMAT_HOUR_MINUTE_SECOND)
    private LocalTime startWork;
    @Schema(description = "下班时间")
    @DateTimeFormat(pattern = FORMAT_HOUR_MINUTE_SECOND)
    private LocalTime endWork;
    @Schema(description = "排班日")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate scheduleDate;
    @Schema(description = "是否上班")
    private boolean work;
}
